package com.beiing.tianshuai.tianshuai.huodong.model;

import com.beiing.tianshuai.tianshuai.dongtai.CallBack;

/**
 * Created by magikliu on 2017/8/6.
 */

public interface HuoDongDetailModelImpl {

    /**
     * 获取活动详情
     *
     * @param uid
     * @param id
     * @param callBack
     */
    void getHuoDongDetail(String uid, String id, CallBack callBack);

    /**
     * 收藏活动
     *
     * @param uid
     * @param aid
     */
    void collectHuoDong(String uid, String aid, CallBack callBack);

    /**
     * 取消收藏
     *
     * @param uid
     * @param aid
     * @param callBack
     */
    void cancelCollect(String uid, String aid, CallBack callBack);

    /**
     * 评论活动
     *
     * @param aid
     * @param uid
     * @param content
     * @param add_time
     * @param callBack
     */
    void commentHuoDong(String aid, String uid, String content, String add_time, CallBack callBack);

    /**
     * 关注用户
     * @param form_uid
     * @param to_uid
     * @param callBack
     */
    void attentionUser(String form_uid, String to_uid, CallBack callBack);

    void isFollowed(String fromUid, String toUid, CallBack callBack);

    void setFollowed(String fromUid, String toUid, CallBack callBack);

    //点赞活动
    void praiseHuoDong(String userid, String aid, CallBack callBack);

    //点赞评论
    void praiseComment(String uid, String cid, CallBack callBack);

    //删除评论
    void deleteComment(String id, CallBack callBack);

    //添加回复
    void addReply(String aid, String cid, String form_id, String to_id, String content, String comment, int type, String rid, CallBack callBack);

    //删除回复
    void deleteReply(String aid, String id, String uid, CallBack callBack);

    //点赞回复
    void praiseReply(String uid, String aid, String cid, String rid, String to_uid, CallBack callBack);
}
